<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt" %>
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>test</title>
    <%@include file="/static/common/commonHead.jsp" %>
    <script type="text/javascript" src="/static/js/test/test.js"></script>
</head>
<body>
<%--工具栏--%>
<div id="tools">
    <a class="easyui-linkbutton" iconCls="icon-add" plain="true" data-cmd="add">新增</a>
    <a class="easyui-linkbutton" iconCls="icon-edit" plain="true" data-cmd="edit">编辑</a>

    <a id="btn_changeState" class="easyui-linkbutton" iconCls="icon-man" plain="true" data-cmd="changState">审核</a>
    <a class="easyui-linkbutton" iconCls="icon-remove" plain="true" data-cmd="delete">删除</a>
    <a class="easyui-linkbutton" iconCls="icon-see" plain="true" data-cmd="see">查看</a>

    <a class="easyui-linkbutton" iconCls="icon-reload" plain="true" data-cmd="reloadList">刷新</a>
    <a class="easyui-linkbutton" iconCls="icon-export" plain="true" data-cmd="exportXls"
       onclick="window.open('/test/exportXls.do')">导出</a></br>

    潜在学员:<input class="easyui-combobox" id="clientId"
                data-options="url:'/client/listAll.do',valueField:'id',textField:'name',panelHeight:'auto',prompt:'潜在学员'"
                name="clientId">


    <a class="easyui-linkbutton" iconCls="icon-search" plain="true" data-cmd="searchs">查询</a>


</div>

<%--表格--%>
<table id="entity_list"></table>

<%--编辑页面--%>
<div id="entity_dialog">
    <form id="entity_form" method="post">
        <table align="center" style="margin-top: 20px">
            <input type="hidden" name="id"/>
            <tr>
                <td>潜在学员:</td>
                <td>&nbsp;&nbsp;</td>
                <td>
                    <%--<input id="cc1" name="client.id" readonly="readonly" style="width:200px;"/>--%>
                    <input type="text" id="cc1" class="easyui-combobox" name="client.id" style="width:200px;"
                           data-options="valueField:'id',textField:'name',panelHeight:'auto',
                       url:'/client/listAll.do'" readonly="readonly"/>
                </td>
            </tr>
            <tr>
                <td>&nbsp;&nbsp;</td>
            </tr>
            <tr>
                <td>QQ:</td>
                <td>&nbsp;&nbsp;</td>
                <td><input id="cc2" name="qq" readonly="readonly" style="width:200px;"/></td>
            </tr>
            <tr>
                <td>&nbsp;&nbsp;</td>
            </tr>
            <tr>
                <td>电话:</td>
                <td>&nbsp;&nbsp;</td>
                <td><input id="cc3" name="tel" readonly="readonly" style="width:200px;"/></td>
            </tr>
            <tr>
                <td>&nbsp;&nbsp;</td>
            </tr>


            <tr>
                <td>处理人:</td>
                <td>&nbsp;&nbsp;</td>
                <td>
                    <input type="text" class="easyui-combobox" name="handler.id" style="width:200px;"
                           data-options="valueField:'id',textField:'username',panelHeight:'auto',
                       url:'/employee/listAll.do'"/>
                </td>
            </tr>
            <tr>
                <td>&nbsp;&nbsp;</td>
            </tr>

            <tr>
                <td>考试时间:</td>
                <td>&nbsp;&nbsp;</td>
                <td><input class="easyui-datetimebox" style="width:200px;" data-options="" name="testDate"/></td>
            </tr>
            <tr>
                <td>&nbsp;&nbsp;</td>
            </tr>
            <tr>
                <td>考试结果:</td>
                <td>&nbsp;&nbsp;</td>
                <td>
                    <select class="easyui-combobox" name="testResult" style="width:200px;"
                            data-options="panelHeight:'auto'">
                        <option value="1">通过</option>
                        <option value="0">不通过</option>
                    </select>
                </td>
            </tr>
            <tr>
                <td>&nbsp;&nbsp;</td>
            </tr>
            <tr>
                <td>状态:</td>
                <td>&nbsp;&nbsp;</td>
                <td>
                    <select class="easyui-combobox" name="state" style="width:200px;" data-options="panelHeight:'auto'">
                        <option value="1">补考</option>
                        <option value="0">已补考</option>
                    </select>
                </td>
            </tr>
            <tr>
                <td>&nbsp;&nbsp;</td>
            </tr>
            <tr>
                <td>备注:</td>
                <td>&nbsp;&nbsp;</td>
                <td>
                    <input class="easyui-validatebox" style="width:200px;height:100px;" data-options="" name="remark"/>
                </td>
            </tr>


        </table>
    </form>
</div>


<div id="entity_dialog_btns">
    <a class="easyui-linkbutton" iconCls="icon-save" plain="true" data-cmd="saveOrUpdate">保存</a>
    <a class="easyui-linkbutton" iconCls="icon-cancel" plain="true" data-cmd="cancel">取消</a>
</div>
</body>
</html>
